/* 
 * cms，一个基于J2EE架构内容管理系统
 * Copyright © GrayRabbit Co., Ltd. All rights reserved.
 * Department:运营department
 * 更多信息请访问：
 * http://code.google.com/p/gray-rabbit-cms/
 */
package org.grayrabbit.cms.service.content;

import org.grayrabbit.cms.entity.Admin;
import org.grayrabbit.cms.entity.VideoContent;
import org.grayrabbit.cms.vo.content.VideoContentBean;

import org.grayrabbit.dao.util.Page;
import org.grayrabbit.service.GenericService;

/**
 * <b>OperLog</b>的service接口

 * @version 1.0,创建时间: 2011-05-16 14:40:11 
 */
public interface VideoContentService extends GenericService {
	/**
	 * 根据主键查询实体
	 * @param contentId
	 * @return
	 */
	VideoContent getVideoContent(String videoContentId);
	/**
	 * 批量删除
	 * @param key
	 */
	void delete(String[] key);
	/**
	 * 删除实体
	 * @param content
	 */
	void delete(VideoContent videoContent);
	/**
	 * 保存实体
	 * @param content
	 */
	void save(VideoContent videoContent, Admin user,String cflag);
	/**
	 * 根据bean组装统计查询条件(名称参数)
	 * @param content
	 * @return
	 */
	Page<VideoContent> getPage(VideoContentBean videoContentBean);
	/**
	 * 填充分页组件的查询：(名称参数)
	 * @param page
	 * @param contentBean
	 */
	void list(Page<VideoContent> page, VideoContentBean videoContentBean);
	
}